Skip to content

Conversation

@Griffsano
Copy link
Contributor

@Griffsano Griffsano commented Mar 26, 2022

Closes #104, #132

To-do list

  • Change documentation in readme
  • Read-in configuration files to define if airdrops are taxable
  • Match airdrops to configurations from files
  • Change default taxation of airdrops to taxable (if no entry is found in the configuration files)
  • Implement taxation of taxable airdrops (both buy and sell behavior)


class Airdrop(Transaction):
pass
taxable = True
Copy link
Owner

@provinzio provinzio Mar 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default value needs to be defined in init. If you define it here. It's a general class variable. Alle classes share this variable / or define it as taxable: bool = True without type annotation it's a class wide variable.

https://stackoverflow.com/questions/61937520/proper-way-to-create-class-variable-in-data-class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Germany: Taxation of Airdrops

2 participants